import request from '../req'
// 获取保司列表
export const getInsureCompany = async (params: any) => {
    let res = await request.get('/crm/record/insure-company', {
        params: params
    })
    return res
}
// 获取方案列表
export const getWesurePlanName = async (params: any) => {
    let res = await request.get('/crm/record/get-wesure-plan-name', {
        params: params
    })
    return res
}
// 获取保险数据
export const getWesureData = async (params: any) => {
    let res = await request.get('/crm/record/get-wesure-data', {
        params: params
    })
    return res
}

// 获取保险数据
export const getWesureOperateData = async (params: any) => {
    let res = await request.get('/crm/record/get-wesure-operate-data', {
        params: params
    })
    return res
}
// 获取方案数据
export const getWesureProgrammeCount = async (params: any) => {
    let res = await request.get('/crm/record/get-wesure-programme-count', {
        params: params
    })
    return res
}
// 近七日开通趋势
export const getOpenSevenDays = async (params: any) => {
    let res = await request.get('/crm/record/get-open-seven-days', {
        params: params
    })
    return res
}

// 近七日投保数据
export const getWesureInsureSevenDays = async (params: any) => {
    let res = await request.get('/crm/record/get-wesure-insure-seven-days', {
        params: params
    })
    return res
}

// 投保明细
export const getWesureDetails = async (params: any) => {
    let res = await request.get('/crm/record/get-wesure-details', {
        params: params
    })
    return res
}
// 团意日保方案
export const getTyPlanName = async (params: any) => {
    let res = await request.get('/crm/record/get-ty-plan-name', {
        params: params
    })
    return res
}


